package com.sms.util;

import lombok.Data;
import lombok.Getter;
import org.apache.ibatis.session.SqlSessionFactory;

@Data
public class SqlSessionFactoryUtil {
    @Getter
    private static SqlSessionFactory factory;

    public static void setFactory(SqlSessionFactory factory) {

        SqlSessionFactoryUtil.factory = factory;
    }
}
